package com.koc.robot.freetype;

public class GlyphSlot extends Pointer
{
	GlyphSlot(long address)
	{
		super(address);
	}
	
	public GlyphMetrics getMetrics()
	{
		return new GlyphMetrics(getMetrics(address));
	}
	
	private static native long getMetrics(long slot);
	
	public int getLinearHoriAdvance()
	{
		return getLinearHoriAdvance(address);
	}
	
	private static native int getLinearHoriAdvance(long slot);
	
	public int getLinearVertAdvance()
	{
		return getLinearVertAdvance(address);
	}
	
	private static native int getLinearVertAdvance(long slot);
	
	public int getAdvanceX()
	{
		return getAdvanceX(address);
	}
	
	private static native int getAdvanceX(long slot);
	
	public int getAdvanceY()
	{
		return getAdvanceY(address);
	}
	
	private static native int getAdvanceY(long slot);
	
	public int getFormat()
	{
		return getFormat(address);
	}
	
	private static native int getFormat(long slot);
	
	public Bitmap getBitmap()
	{
		return new Bitmap(getBitmap(address));
	}
	
	private static native long getBitmap(long slot);
	
	public int getBitmapLeft()
	{
		return getBitmapLeft(address);
	}
	
	private static native int getBitmapLeft(long slot);
	
	public int getBitmapTop()
	{
		return getBitmapTop(address);
	}
	
	private static native int getBitmapTop(long slot);
}
